package com.clj.cloud.authorization_server.oauth2.granter;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;

public class MobileAuthenticationToken extends UsernamePasswordAuthenticationToken{

	/**
	 * 手机验证码登陆Token认证类
	 * @param authenticationToken
	 */
	public MobileAuthenticationToken(Authentication authenticationToken) {
		super(authenticationToken.getPrincipal(), authenticationToken.getCredentials());
	}

}
